export default {
    data(){
        return {
            day: '',
            isShow: false,
            markDay: ['2022-08-12', '2022-08-16','2022-08-24'],
            weekList: ['Sun','Mon','Tue','Web','Thu','Fri','Sat'],
        }
    },
    onReady(){
    },
    onInit() {
    },
    onShow(){
    },
    cutMonth(e){
        console.log('切换月份：' + e._detail)
    },
    selectDay(e){
        console.log('选择日期：' + e._detail)
    },
    showCalendar(){
        this.isShow = true;
    },
    cancel(){
        console.log('点击取消');
        this.isShow = false;
    },
    confirm(e){
        let day = e._detail;
        this.day = day;
        this.isShow = false;
        console.log('点击确认：' + day)
    },
}

